package com.db.chat.client.network;

/**
 * Created by Student on 25.11.2014.
 */
public class Configuration {

    private static String ipAddress = "127.0.0.1";

    private static int port = 10002;

    private static String loggerPath = "./logger.txt";

    private static int reconnectTimeout = 10000;

    private static String offlineCachePath = "./offlineCache.txt";


    public static void setPort(int port) {
        Configuration.port = port;
    }

    public static void setIpAddress(String ipAddress) {
        Configuration.ipAddress = ipAddress;
    }

    public static void setLoggerPath(String loggerPath) {
        Configuration.loggerPath = loggerPath;
    }

    public static String getIpAddress() {
        return ipAddress;
    }

    public static int getPort() {
        return port;
    }

    public static String getLoggerPath() {
        return loggerPath;
    }

    public static int getReconnectTimeout() { return reconnectTimeout; }

}
